export 'expandable_list_view.dart';
export 'expandable_section_container.dart';
export 'sliver_expandable_list.dart';

///see more [https://github.com/tp7309/flutter_sticky_and_expandable_list]
///
///
///
///
///
///
///     Basic Usage
///    //In this example, we create a custom model class(ExampleSection).
//     //class ExampleSection implements ExpandableListSection<String> {}
//     //so: SliverExpandableChildDelegate<String, ExampleSection>()
//     List<ExampleSection> sectionList = List<ExampleSection>();
//     return ExpandableListView(
//       builder: SliverExpandableChildDelegate<String, ExampleSection>(
//           sectionList: sectionList,
//           headerBuilder: (context, sectionIndex, index) =>
//               Text("Header #$sectionIndex"),
//           itemBuilder: (context, sectionIndex, itemIndex, index) {
//             String item = sectionList[sectionIndex].items[itemIndex];
//             return ListTile(
//               leading: CircleAvatar(
//                 child: Text("$index"),
//               ),
//               title: Text(item),
//             );
//           }),
//     );
///
///
///
///
///
///
///
///How to expand/collapse item?
// setState(() {
//   sectionList[i].setSectionExpanded(true);
// });
///
///
///
///
///
///How to listen current sticky header or the sticky header scroll offset?
//   @override
//   Widget build(BuildContext context) {
//     ExpandableListView(
//       builder: SliverExpandableChildDelegate<String, ExampleSection>(
//         headerController: _getHeaderController(),
//       ),
//     )
//   }
//
//   _getHeaderController() {
//     var controller = ExpandableListController();
//     controller.addListener(() {
//       print("switchingSectionIndex:${controller.switchingSectionIndex}, stickySectionIndex:" +
//           "${controller.stickySectionIndex},scrollPercent:${controller.percent}");
//     });
//     return controller;
//   }
///
///
///
///
///
///
